body {
  background: #000000 none repeat scroll 0 0;
  margin: 0;
  overflow: visible;
  height: 100vh;
  width: 100vw;
  cursor: url("../images/pixelCursor.png"), auto;
  background-image: url("../images/starBack.png");
}

@keyframes color-change {
  0% { color: black; }
  100% { color: white; }
}

.mainHeader
{
  margin:auto;
  transition-delay: 2s;
  animation: color-change 3s 1;
  word-wrap: break-word;
	margin: 0 auto;
  font-family: 'Sys', Fallback, sans-serif;
  font-size: 20px;
  -webkit-font-smoothing: antialiased;
  font-weight: normal;
  text-align: center;
  color:rgb(255, 255, 255);
}

.socialwrapper {
  display: flex;
  flex-direction: column;
  color: white;
  position: relative;
}

.horizontalwrapper {
  display:flow-root;
  flex-direction: row;
  color: white;
  position: relative;
  align-items: flex-start;
}

@font-face {
  src:"./fonts/nokiafc22.ttf";
  font-family: "Alagard";
}


@font-face {
  src: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/86186/terminal_copy.ttf);
  font-family: "Terminal";
}

@font-face {
  src: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/86186/sys.ttf) format("truetype");
  font-family: "Sys";
}

.scanlines .overlay 
{
  pointer-events:none;
  height: 100%;
  left: 0;
  position:fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.juegocanvas{
  z-index: 69; /*para la interfaz del juego/botones*/
  left: 10%;
  right: 10%;
  height: 90%;
  
}

.atg{
  margin-top: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color:white;
  text-align: center;
  position: relative;  
  
  @media (max-width: 620px) {
    width: 100%;
  }
}

.atg span{
  display: inline-block;
}
  

.scanlines .overlay::after {
  pointer-events:none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
}

.scanlines .overlay::before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: " ";
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}


.on .picture {
  -webkit-animation: 3000ms linear 0ms normal forwards 1 running on;
          animation: 3000ms linear 0ms normal forwards 1 running on;
}

.off .picture {
  -webkit-animation: 750ms cubic-bezier(0.23, 1, 0.32, 1) 0ms normal forwards 1 running off;
          animation: 750ms cubic-bezier(0.23, 1, 0.32, 1) 0ms normal forwards 1 running off;
}

.text1{
  font-size: 13px;
  margin-bottom: 7vh;
  text-align: center;
  width: 70%;
  font-family: 'Sys', Fallback, sans-serif;
}
.text2{
  font-size: 20px;
  margin-bottom: 7vh;
  text-align: center;
  width: 70%;
  font-family: 'Sys', Fallback, sans-serif;
}

footer{
  background: #000000;
  padding:2em 0;
  margin-top:8em;
  bottom:0;
  width: 100%;
  border-top: 10px solid #2a105a;

}

.footer-container{
  width: 100%;
  display:block;
  color:rgb(255, 255, 255);
  line-height: 40%;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  justify-content: space-around;
}

footer img{
  width: 10%; 
  height: 10%; 
  border-radius:1em;	

}

.juego{
  font-size: 18px;
  font-family: 'Sys', Fallback, sans-serif;

}


.container{
  width: 80%;
  margin: 0 auto;

}

canvas{   
  margin-top: 5vh;
  display: block;
  position: relative;
}